<template>
  <div class="getpwd">
    <el-button type="text" @click="dialogVisible = true">忘记密码</el-button>
    <el-dialog title="找回密码" :visible.sync="dialogVisible" width="30%">
      <el-form ref="form" :model="form" label-width="80px">
        <el-form-item label="邮箱地址">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="密码">
          <el-input v-model="form.number"></el-input>
        </el-form-item>
        <el-form-item label="确认密码">
          <el-input v-model="form.number"></el-input>
        </el-form-item>
      </el-form>
      <span slot="footer" class="dialog-footer">
        <el-button round type="primary" @click="dialogVisible = false">确定</el-button>
        <el-button round @click="dialogVisible = false">取消</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        dialogVisible:false,
        form: {
          email: '',
          number:''
        }
      };
    }
  };
</script>
